package com.xyb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * 标识该服务是 Zuul,自动开启网关代理
 */
@EnableZuulProxy
@EnableEurekaClient
@SpringBootApplication
public class ZuulAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZuulAdminApplication.class, args);
    }

}
